package com.pkx.guide.info.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.pkx.guide.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 *
 * 诱导屏播放项信息表
 * @author sunsy
 * @since 2023-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_info_guide_play_item")
@Schema(name="TInfoGuidePlayItem对象", description="诱导屏播放项信息表")
public class TInfoGuidePlayItem extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "播放项标题")
    @TableField("title")
    private String title;

    @Schema(description = "播放表id")
    @TableField("play_list_id")
    private Integer playListId;

    @Schema(description = "播放类型 picture：图片  text：文字")
    @TableField("play_type")
    private String playType;

    @Schema(description = "播放项序号")
    @TableField("play_item_no")
    private Integer playItemNo;

    @Schema(description = "播放项id")
    @TableField("play_item_id")
    private String playItemId;

    @Schema(description = "播放项名称")
    @TableField("play_item_name")
    private String playItemName;

    @Schema(description = "播放项 x")
    @TableField("play_item_x")
    private Integer playItemX;

    @Schema(description = "播放项 y")
    @TableField("play_item_y")
    private Integer playItemY;

    @Schema(description = "窗口序号 1, 2")
    @TableField("area_index")
    private Integer areaIndex;

    @Schema(description = "播放总时长 单位毫秒")
    @TableField("play_total_time")
    private Integer playTotalTime;

    @Schema(description = "图片类型 固定：0")
    @TableField("picture_type")
    private Integer pictureType;

    @Schema(description = "图片名称且不可包含路径信息。图片要存放在播放表存储目录，否则将报图片信息不存在")
    @TableField("picture_name")
    private String pictureName;

    @Schema(description = "图片存储路径，绝对路径")
    @TableField("picture_path")
    private String picturePath;

    @Schema(description = "图片访问地址")
    @TableField("picture_url")
    private String pictureUrl;

    @Schema(description = "文字颜色 rgbaa以,分隔")
    @TableField("font_colour")
    private String fontColour;

    @Schema(description = "文字类型 固定为： 0")
    @TableField("text_type")
    private Integer textType;

    @Schema(description = "文字内容")
    @TableField("text")
    private String text;

    @Schema(description = "文字字体 目前只支持：h（黑体）、k（楷体）、s（宋体）、f（仿宋体）等四种字体，其它值均为非法值")
    @TableField("font_name")
    private String fontName;

    @Schema(description = "文字大小 体大小取值有效范围：(16,16)、(24,24)、(32,32)；(48,48)或(64,64) )二者选一 ；(96,96) 超大屏可能支持")
    @TableField("font_size")
    private String fontSize;

    @Schema(description = "字体间距 默认5 取值范围：-9-99")
    @TableField("word_space")
    private Integer wordSpace;
}
